package com._23DesignPattern._structure._bridge._new;

import com._23DesignPattern._structure._bridge._new.impl.MessageImplementot;

/**
 * @Author: huangya
 * @Date: 2019/9/20
 * @Description:
 */
public abstract class AbstractMessage {

    MessageImplementot messageImplementot;

    public AbstractMessage(MessageImplementot messageImplementot) {
        this.messageImplementot = messageImplementot;
    }

    void sendMsg(){
        messageImplementot.send();
    }
}
